package com.bw.service.orders;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.entity.orders.PiOrderPic;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lizhengqian
 * @since 2020-06-19
 */
public interface IPiOrderPicService extends IService<PiOrderPic> {

    void importPic(MultipartFile file, Long code) throws IOException;

    InputStream preview(Long itemId, String code);
}
